.emptyContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 48px);
  background: #fff;

  .text {
    color: #3e4352;
    line-height: 30px;
  }

  .more {
    color: #4c7bf7;
  }

  .homeImg {
    width: 800px;
    margin: 10px 0;
  }
}

.statefulComponent {
  height: calc(100vh - 48px);
  padding: 23px 82px 23px 82px;
  overflow: auto;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 5px 0 0px;
    h3 {
      margin: 0;
    }
  }

  .card {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    box-sizing: border-box;

    .cardItem {
      // flex: 0 0 calc(20% - 10px);
      // width: calc(100vw - 170);
      width: 240px;
      height: 137px;
      margin-bottom: 18px;
      margin-left: 18px;
      padding: 0 15px;
      background: #fff;
      border-left: 3px solid #4e79e3;
      border-radius: 4px;
      box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.06);
      cursor: pointer;
      .title {
        display: flex;
        flex-direction: row;
        // justify-content: center;
        align-items: center;
        width: 100%;
        height: 35px;
        color: rgba(62, 67, 82, 0.6);
        border-bottom: 1px solid #edf0f1;
      }

      .titleCon {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
      }
      .aiContent {
        display: -webkit-box;
        margin-top: 15px;
        overflow: hidden;
        color: #3e4352;
        font-size: 12px;
        line-height: 22px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
      }

      .f12 {
        font-size: 12px;
      }

      .f14 {
        font-size: 14px;
      }

      .textColor {
        color: #3e4352;
      }
    }

    // .cardItem:nth-child(5n + 1) {
    //   margin-left: 0;
    // }
  }

  .cardItem.cardMore {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #f7f7fa;
    border: none;

    .text {
      margin-top: 10px;
      color: #9a9a9c;
      cursor: pointer;
    }
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    color: #9a9a9c;

    .more {
      display: flex;
      align-items: center;
      font-size: 12px;
      vertical-align: baseline;
    }
  }
}

.text2Container {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text1Container {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.docTypeTitleBox {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 6px 0;
  color: #2f2f4d;
  font-weight: 500;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  vertical-align: middle;
  .docTypeTitleNum {
    height: 22px;
    margin-left: 10px;
    color: rgba(47, 47, 77, 0.49);
    font-weight: 500;
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    line-height: 22px;
  }
  .docTypeTipBox {
    display: inline-flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 38px;
    margin-top: 6px;
    margin-left: 25px;
    padding: 0 14px;
    color: #3e4352;
    font-weight: 400;
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 3px 2px 14px 0px rgba(61, 68, 133, 0.08);
    img {
      margin-right: 10px;
    }
  }
}
.doc-box {
  width: fit-content;
  background: #eaecef;
  border-radius: 8px;
  &.other-doc {
    width: 100%;
    background: transparent;
    .docTypeListBox {
      margin-top: 0px;
      padding-left: 0;
      .docTypeList {
        &:nth-of-type(1) {
          margin-left: 0;
        }
      }
    }
  }
  .docHeader {
    // font-weight: 600;
    padding: 0 5px 0 0px;
    color: #2f2f4d;
    font-size: 16px;
    font-family: PingFangSC-Semibold, PingFang SC;
  }
  .docTypeListBox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 217px;
    margin-top: 20px;
    padding: 10px 10px 0 10px;
    .docTypeList {
      position: relative;
      width: 200px;
      height: 235px;
      margin: 10px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0px 4px 8px 0px rgba(19, 21, 30, 0.05);
      cursor: pointer;
      .bg {
        position: absolute;
        top: 0;
        left: 0;
      }
      .docTypeInfo {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        padding: 14px 17px 0;
        .docTypeTitle {
          font-weight: 600;
          font-size: 14px;
          text-overflow: ellipsis;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
        }
        .docTypeDesc {
          // width: 200px; /* 设置容器的宽度 */
          display: -webkit-box; /* 设置显示为弹性盒子 */
          height: 100px;
          margin-top: 8px;
          overflow: hidden; /* 设置溢出隐藏 */
          color: #3e4352;
          font-weight: 400;
          font-size: 12px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 20px;
          text-overflow: ellipsis; /* 设置显示省略号 */
          -webkit-line-clamp: 4; /* 设置最多显示的行数 */
          -webkit-box-orient: vertical; /* 设置盒子内文本的方向为垂直 */
        }
        .docTypeDemo {
          margin: 10px 0;
          .ant-btn {
            height: 20px;
            padding: 0px 12px;
            color: #66adff;
            font-weight: 500;
            font-size: 12px;
            font-size: 13px;
            font-family: PingFangSC-Medium, PingFang SC;
            line-height: 20px;
            border: none;
            border-radius: 100px;
            &.blue {
              color: #66adff;
            }
            &.orange {
              color: #ebae72;
            }
            &.cyan {
              color: #40c3c8;
            }
            &.purple {
              color: #a698f1;
            }
          }
        }
      }
    }
  }
}

.docBox {
  box-sizing: border-box;
  width: 100%;
  margin-left: 0px;
}

.docListBox {
  margin-left: -10px;
  .cardList {
    position: relative;
    display: flex;
    flex-direction: column;
    // overflow: hidden;
    width: 162px;
    height: 235px;
    margin: 24px 10px 10px 10px;
    padding: 14px 11px 0 11px;
    color: #3e4352;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 3px 5px 0px rgba(19, 21, 30, 0.03);
    cursor: pointer;
    .cardType {
      position: absolute;
      top: -24px;
      left: 0;
      z-index: 1;
      width: auto;
      height: 24px;
      padding: 0 11px;
      color: #ffffff;
      font-weight: 500;
      font-size: 12px;
      font-family: PingFangSC-Medium, PingFang SC;
      line-height: 26px;
      text-align: center;
      background: linear-gradient(180deg, #8abde7 0%, #8dc0e8 100%);
      border-radius: 6px 6px 0px 0px;
      .specialRdius {
        position: absolute;
        top: 24px;
        left: 0;
        display: inline-block;
        width: 8px;
        height: 8px;
        background-image: radial-gradient(20px at 8px 100%, transparent 8px, #8abde7 8px);
      }
      &.blue {
        background: linear-gradient(180deg, #8abde7 0%, #8dc0e8 100%);
        .specialRdius {
          background-image: radial-gradient(20px at 8px 100%, transparent 8px, #8abde7 8px);
        }
      }
      &.orange {
        background: linear-gradient(180deg, #c3aa75 0%, #dfcea1 100%);
        .specialRdius {
          background-image: radial-gradient(20px at 8px 100%, transparent 8px, #dfcea1 8px);
        }
      }
      &.cyan {
        background: #73cdc4;
        .specialRdius {
          background-image: radial-gradient(20px at 8px 100%, transparent 8px, #73cdc4 8px);
        }
      }
      &.purple {
        background: linear-gradient(180deg, #b2abd5 0%, #b9b2d9 100%);
        .specialRdius {
          background-image: radial-gradient(20px at 8px 100%, transparent 8px, #b9b2d9 8px);
        }
      }
    }
    .box {
      position: relative;
      width: 50px;
      height: 50px;
      background-color: #2f2f4d;
      border-radius: 8px;
    }

    .blue-area {
      position: absolute;
      top: 0;
      left: 0;
      width: 50px; /* 根据需要设置宽度 */
      height: 50px; /* 根据需要设置高度 */
      background-image: radial-gradient(200px at 50px 100%, #fff 50px, #4169e1 50px);

      // background-color: blue;
      // border-top-left-radius: 8px;
      // background-image: radial-gradient(200px at 50px 0px, #fff 50px, #4169E1 50px);
      // background-image: radial-gradient(200px at 50px 0px, #fff 50px, #4169E1 50px);
      // background: radial-gradient(circle at top left, transparent 0%, transparent 75%, blue 75%);
    }

    .cardTit {
      //超出2行显示省略号
      overflow: hidden;
      font-weight: 600;
      font-size: 14px;
      // line-height: 17px;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .cardCon {
      display: -webkit-box;
      width: 110%;
      height: 100px;
      margin-top: 4px;
      overflow: hidden;
      font-weight: 400;
      font-size: 12px;
      line-height: 20px;
      text-overflow: ellipsis;
      -webkit-line-clamp: 5;
      line-clamp: 5;
      -webkit-box-orient: vertical;
    }
  }
}
.scrollableDiv {
  height: calc(100vh - 400px);
  min-height: 250px;
  // padding:10px 16px;
}
.demoModal {
  // width: 843px;
  // height: calc(100% - 30px);
  // width: 50vw !important;
  // min-width: 720px !important;
  // max-width: 1600px !important;
  .ant-modal-body {
    .articleEleRef {
      // max-height: 60vh !important;
      height: 673px;
      padding-right: 10px;
      overflow-y: auto !important;
      p {
        color: #3e4352;
        font-weight: 500;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        line-height: 28px;
        text-align: left;
      }
    }
  }
  .ant-modal-content {
    padding: 20px 30px;
  }
  .ant-modal-title {
    margin: 20px 20px 35px 0px;
  }
}
.ai-rate {
  width: 74px;
  height: 56px;
  line-height: 23px;
  background: #cae4ff;
  border-radius: 8px;
}
.my-rate {
  width: 74px;
  height: 56px;
  line-height: 23px;
  background: #ffcfcf;
  border-radius: 8px;
}
.rate-num {
  color: #3e4352;
  font-weight: 600;
  font-family: Alibaba-PuHuiTi-M, Alibaba-PuHuiTi;
}
.rate-no {
  color: rgba(62, 67, 82, 1);
  font-size: 14px;
  font-family: Alibaba-PuHuiTi-M;
}
.rate-circle {
  width: 5px;
  height: 5px;
  color: #397bff;
  background: #397bff;
  border-radius: 50px;
}

.cardFoot {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  .tab-name {
    margin-top: 2px;
    margin-left: 17px;
    color: #3e4352;
    font-size: 12px;
    opacity: 0.5;
  }
  .card-more {
    margin-right: 17px;
    cursor: pointer;
    &-cursor {
      cursor: default;
    }
  }
}
.cursor-point {
  cursor: pointer;
}
